package com.example.exampletest.service;

import com.example.exampletest.model.Course;
import java.util.List;

public interface CourseService {
    int addCourse(Course course);
    int updateCourse(Course course);
    int deleteCourse(Long id);
    Course getCourseById(Long id);
    List<Course> getAllCourses();
    List<Course> searchCourses(String keyword, Integer sortOrder);
    List<Course> getCoursesByStatus(Integer status);
    List<Course> getCoursesByEnterpriseId(Integer enterpriseId);
    int updateCourseStatus(Long id, Integer status, String auditReason);
} 